<?php
/**
 * Author: lee wei
 * Date: 2021/12/7
 */
namespace App\Common;

class Coderesponse
{
    //通用
    const ERROR = [-1, '未知错误'];
    const SUCCESS = [0, '操作成功'];
    const FAIL = [1, '操作失败'];
    const NOT_FOUND = [404, '当前请求资源不存在，请稍后再试'];
    const UNPROCESSABLE = [422, '格式错误'];
    const SERVICE_ERROR = [500, '服务器内部错误'];

    //登录
    const LOGIN_ERROR = [-7, '登录失败'];
}